
#include "block.h"


// default constructor

Block::Block() : Entity()
{
    spriteData.width = blockNS::WIDTH;           // size of Ship1
    spriteData.height = blockNS::HEIGHT;
    spriteData.rect.bottom = blockNS::HEIGHT;    // rectangle to select parts of an image
    spriteData.rect.right = blockNS::WIDTH;
    frameDelay = 1;
    startFrame = 0;                             // first frame of animation
    endFrame     = 0;                           // last frame of animation
    currentFrame = startFrame;
    collisionType = entityNS::BOX;
}